package encore.portal;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import encore.beans.test.Foo;
import encore.beans.test.Too;

/**
 * 该类用来实现IOC的配置类
 * @author Plex
 *
 */
@Configuration
public class PortalAppConfig {

	@Bean(name={"test"})
	public Foo foo()
	{
		return new Foo();
	}
	
	@Bean(name={"test1"})
	public Too toos()
	{
		return new Too();
	}
	
	@Bean(name={"test2"})
	public Too toosq()
	{
		return new Too();
	}
	
}
